package route

//导包导入
import (
	"github.com/gin-gonic/gin"
	"myproject/controller"
)

func PathRoute(r *gin.Engine) *gin.Engine {
	//newPath名字可以随意改
	newPath := r.Group("/news")
	{
		controller.New(newPath)
	}
	return r
}
